

#ifndef ota_manager_h
#define ota_manager_h

#include "pb_kt_ota_device.h"
#include "sys_msg_process.h"

#define DEFAULT_FW_FRAME_SIZE   256





typedef struct {
	char *file_name_ext;
	char *file_path;
}ota_file_dir_t;

int ota_task_init(ota_param_t *param);
void print_ota_param(const ota_param_t *param);

void ota_burn_flash_pro(const sys_main_msg_t *pmsg);
void ota_burn_flash(void );
/////void ota_burn_flash(const ota_param_t *pmsg);



void setup_ota_node_flag(int flag);
int read_ota_node_flag(void);


#endif

